package com.fancy.service.impl;

import com.fancy.dao.IAlbumDao;
import com.fancy.pojo.category.Album;
import com.fancy.service.AlbumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AlbumServiceImpl implements AlbumService {
    @Autowired
    IAlbumDao albumDao;
    @Override
    public List<Album> selectAlbumById() {
        return albumDao.selectAlbumById();
    }

    @Override
    public Album selectAlbumByAlbumId(Integer id) {
        return albumDao.selectAlbumByAlbumId(id);
    }

}
